package com.cc.mapper;


import com.cc.model.EbProduct;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductMapper {
        List<EbProduct> listByPage(@Param("from") Integer from, @Param("pageSize") Integer pageSize);
        int save(EbProduct ebProduct);
        int delete(Integer epId);
        int updateByPrimaryKey(EbProduct ebProduct);
        EbProduct listById(int epId);
        int getMaxPage(int pageSize);


}

